<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<script type="text/javascript">
					function fn3()
					{
						document.write("number的值为"+number+"<br>");
					}
					fn3();
					
					var number=5;
					
					function fn()
					{
						document.write("number的值为"+number+"<br>");
					}
					function fn2()
					{
						++number;
						document.write("number的值为"+number+"<br>");
					}
					fn();
					fn2();
		</script>
		<script type="text/javascript">
					document.write("number的值为"+number+"<br>");
		</script>
	</head>
	<body>
	</body>
</html>